import logo from "../../logo.svg";
import React from "react";

const Loading = ({ loading = false }) => (
  <div>
    {loading ? (
      <div>
        <img src={logo} className="App-logo" alt="logo" />
      </div>
    ) : (
      "数据加载完毕"
    )}
  </div>
);

export default Loading;
